package com.yihu.dataService.hessian.mongodb.interfaceService;

import java.util.List;

import com.yihu.beans.Derivatives;
import com.yihu.beans.searchCondition.ArtworkPageConditions;
import com.yihu.beans.searchCondition.DerivativesPageConditions;

public interface DerivativesHService {
	
	int addDerivatives(Derivatives derJson);
	
	int delDerivatives(String id);
	
	int updateDerivatives(Derivatives derJson);
	
	Derivatives getDerivativesById(String id);
	
	List<Derivatives> getDerivativesPaging(int skip , int limit , DerivativesPageConditions pc);
	
	long getDerivativesTotal();

}
